<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

<%@ include file="/WEB-INF/jsp/header.jsp" %>

<div class="alert alert-info">
    <i class="icon-info-sign"></i> Přehled testů, které máte k dispozici, jejich správa (export, import, tvorba, editace)
</div>

    <table class="table table-condensed">
        <tr>
            <th><spring:message code="form.test.name" /></th>
            <th><spring:message code="form.test.description" /></th>
            <th><spring:message code="form.test.number" /></th>
            <th><spring:message code="form.test.type" /></th>
            <th><spring:message code="form.test.detail" /></th>
            <th><spring:message code="form.test.detailQuestion" /></th>
        </tr>
        <c:forEach var="s" items="${all_tests}">
        <tr>
            <td>${s.name}</td>
            <td>${s.descr}</td>
            <td>${s.number}</td>
            <td>${s.types.name}</td>
            <td>
                <a href="test.do?id=${s.id}">detail</a>
            </td>
            <td>
                <a href="tests_questions_edit.do?id=${s.id}">detail</a>
            </td>
        </tr>
        </c:forEach>
    </table>

 <a href="test.do" class="myBtn"><i class="icon-plus-sign icon-white"></i>vytvoř test</a>

<%@ include file="/WEB-INF/jsp/footer.jsp" %>